home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
5
/
MACVOGL-
/
CHECK.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-19
|
256b
|
19 lines
#include <stdio.h>
extern int hLoaded;
/*
* check_loaded
*
* Checks and prints out a message if the font isn't loaded.
*/
void
check_loaded(who)
char *who;
{
if (!hLoaded) {
fprintf(stderr, "%s: no hershey font loaded.\n", who);
exit(1);
}
}